home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / app_note / an101c / an101c.txt
Text File  |  1991-02-15  |  12KB  |  318 lines

  1. FILEVIEW: LANalyzer Applications for NetWare File Service Diagnostics on a
  2. Locally Attached Network Segment
  3.  
  4. Ron Lee
  5. Senior Consultant
  6. Systems Engineering Division
  7.  
  8. Abstract:
  9.  
  10.      The LANalyzer applications described herein allow the network
  11.      administrator to characterize the workload of both servers and
  12.      workstations in a local area network. Four network management
  13.      applications are included.
  14.  
  15. Disclaimer
  16.  
  17.      Novell, Inc. makes no representations or warranties with respect to
  18.      the contents or use of these Application Notes (AppNotes) or of any of
  19.      the third-party products discussed in the AppNotes. Novell reserves
  20.      the right to revise these AppNotes and to make changes in their
  21.      content at any time, without obligation to notify any person or entity
  22.      of such revisions or changes. These AppNotes do not constitute an
  23.      endorsement of the third-party product or products that were tested.
  24.      Configuration(s) tested or described may or may not be the only
  25.      available solution. Any test is not a determination of product quality
  26.      or correctness, nor does it ensure compliance with any federal, state
  27.      or local requirements. Novell does not warranty products except as
  28.      stated in applicable Novell product warranties or license agreements.
  29.  
  30.      Copyright { 1991 by Novell, Inc., Provo, Utah. All rights reserved.
  31.  
  32.      As a means of promoting NetWare AppNotes, Novell grants you without
  33.      charge the right to reproduce, distribute and use copies of the
  34.      AppNotes, provided you do not receive any payment, commercial benefit
  35.      or other consideration for the reproduction or distribution, or change
  36.      any copyright notices appearing on or in the document.
  37.  
  38. Introduction
  39.  
  40.      The FILEVIEW filters collect eight different kinds of NetWare Core
  41.      Protocol (NCP) file service requests on the locally attached network
  42.      segment.
  43.  
  44.      Information gathered during this test provides interesting insight,
  45.      into the file level use of the network. Although the test's default
  46.      filter settings are configured to capture all file service requests,
  47.      the test can easily be altered to capture requests addressed to a
  48.      specific server, or those requests transmitted by a specific
  49.      workstation.
  50.  
  51.      Data gathered by FILEVIEW provides an accurate assessment of the
  52.      various levels of file access on the network or target node. With the
  53.      gathered information, the network manager can keep a use history for
  54.      each subnetwork, server, and workstation, and identify the number and
  55.      volume of read and write operations being serviced by a NetWare file
  56.      server.
  57.  
  58.      FILEVIEW is a Novell LANalyzer application, included with LANalyzer
  59.      v3.0 that began shipping in 1990. The applications described in this
  60.      AppNote are derivatives of the default FILEVIEW application.
  61.  
  62. How It Works
  63.  
  64.      Novell's NetWare Core Protocol (NCP) is the remote procedure call
  65.      language that NetWare workstation shells use to communicate with
  66.      NetWare file servers. Some other tightly integrated products such as
  67.      NetWare Loadable Modules (NLMs) also use NCP when communicating with
  68.      NetWare servers.
  69.  
  70.      With the exception of peer-to-peer traffic, routing traffic (RIP), and
  71.      broadcast messages, the majority of NetWare traffic is made up of
  72.      request and or response messages coded in NCP primitives and
  73.      encapsulated within IPX frames.
  74.  
  75.      When an application residing at a workstation initiates a DOS Open
  76.      File operation (3Dh), for example, the NetWare shell intercepts the
  77.      request and translates it into an NCP request. The new NCP request is
  78.      built from information in the DOS request and forwarded to the file
  79.      server. The server processes the request and sends a response back to
  80.      the workstation. The workstation shell receives the response and
  81.      passes all completion codes and data back to the application.
  82.  
  83.      FILEVIEW captures selected NCP requests as they travel from the source
  84.      workstation to the destination server. The default FILEVIEW test is
  85.      configured with a source and destination addresses set to "don't care"
  86.      to capture all file-related traffic. However, by setting the source or
  87.      destination address to known workstations or servers, the file-
  88.      related traffic originating from or destined to a specific set of
  89.      nodes may be examined.
  90.  
  91. Operating Instructions
  92.  
  93.      Before using the FILEVIEW default application or derivatives,
  94.      determine whether the target network is configured for Ethernet II
  95.      (the ECONFIG configuration) or 802.3 (the standard NetWare
  96.      configuration). If you don't know how the network is configured, use
  97.      the LANalyzer application NETVIEW to determine the kind of packets
  98.      being broadcast on the wire and the packet type configuration.
  99.  
  100.      : NETVIEW Run Rate Screen
  101.  
  102.      If NETVIEW captures ECONFIG packets (as in ), then select the ECONFIG
  103.      LANalyzer application suite for NetWare. If NETVIEW captures only
  104.      802.3 packets, then select the 802.3 LANalyzer application suite for
  105.      NetWare.
  106.  
  107.      Select FILEVIEW to run or edit the FILEVIEW application.
  108.  
  109. Receive Channels
  110.  
  111.      : FILEVIEW Receive Channels, Triggers and Controls Edit Screen
  112.  
  113. Receive Channel 1: Read
  114.  
  115.      : Receive Channel 1 - Read Setup Pattern Screen
  116.  
  117.      Read Filter: All NetWare Core Protocol (NCP) Read From A File
  118.           (template = NetWare)
  119.           Request Type = 2222
  120.           Function Code = 72
  121.  
  122.      This NCP request reads a block of byes from a file starting at a
  123.      specified file offset.
  124.  
  125. Receive Channel 2: Write
  126.  
  127.      : Receive Channel 2 - Write Setup Pattern Screen
  128.  
  129.      Write Filter: NetWare Core Protocol (NCP) Write to a file
  130.           (template = NetWare)
  131.           Reply Type = 3333
  132.           Function Code = 73
  133.  
  134.      This NCP request writes a block of data to a file.
  135.  
  136. Receive Channel 3: Search
  137.  
  138.      : Receive Channel 3 - Search Setup Pattern Screen
  139.  
  140.      Search Filter: NetWare Core Protocol (NCP) Search For A File
  141.           (template = NetWare)
  142.           Request Type = 2222
  143.           Function Code = 64
  144.  
  145.      This NCP request allows a client to search the specified server's
  146.      directory.
  147.  
  148. Receive Channel 4: Open
  149.  
  150.      : Receive Channel 4 - Open Setup Pattern Screen
  151.  
  152.      OpenOld Filter: NetWare Core Protocol (NCP) Open File (old)
  153.           (template = NetWare)
  154.           Reply Type = 2222
  155.           Function Code = 65
  156.  
  157.      This NCP request is the pre-NetWare v2.0a form of Open File.
  158.  
  159.      OpenNew Filter: NetWare Core Protocol (NCP) Open File
  160.           (template = NetWare)
  161.           Reply Type = 2222
  162.           Function Code = 76
  163.  
  164.      This NCP request allows a client to open an existing file for future
  165.      access.
  166.  
  167. Receive Channel 5: Close
  168.  
  169.      : Receive Channel 5 - Close Setup Pattern Screen
  170.  
  171.      Close Filter: All NetWare Core Protocol (NCP) Close File
  172.           (template = NetWare)
  173.           Request Type = 2222
  174.           Function Code = 66
  175.  
  176.      This NCP closes a file.
  177.  
  178. Receive Channel 6: Create
  179.  
  180.      : Receive Channel 6 - Create Setup Pattern Screen
  181.  
  182.      Create Filter: All NetWare Core Protocol (NCP) Create File
  183.           (template = NetWare)
  184.           Request Type = 2222
  185.           Function Code = 67
  186.  
  187.      This NCP request creates a new file for the calling client in the
  188.      indicated directory.
  189.  
  190.      Create New Filter: All NetWare Core Protocol (NCP) Create New File
  191.           (template = NetWare)
  192.           Request Type = 2222
  193.           Function Code = 77
  194.  
  195.      This NCP request is exactly like the Create File request, but will
  196.      always fail if the specified file already exists.
  197.  
  198. Receive Channel 7: Erase
  199.  
  200.      : Receive Channel 7 - Erase Setup Pattern Screen
  201.  
  202.      Erase Filter: All NetWare Core Protocol (NCP) Erase File
  203.           (template = NetWare)
  204.           Request Type = 2222
  205.           Function Code = 68
  206.  
  207.      This NCP request allows a client to delete files from the target
  208.      directory.
  209.  
  210. Receive Channel 8: Dir
  211.  
  212.      : Receive Channel 8 - Dir Setup Pattern Screen
  213.  
  214.      Dir Filter: NetWare Core Protocol (NCP) Directory Requests
  215.           (template = NetWare)
  216.           Request Type = 2222
  217.           Function Code = 22
  218.  
  219.      This filter captures all of the NCP directory requests, except the
  220.      Purge a File and Erase a File NCP requests. Both exceptions are
  221.      filtered out by the filters below.
  222.  
  223.      Purge Filter: NetWare Core Protocol (NCP) Purge File
  224.           (template = NetWare)
  225.           Request Type = 2222
  226.           Function Code = 76
  227.  
  228.      Erase Filter: NetWare Core Protocol (NCP) Erase File
  229.           (template = NetWare)
  230.           Request Type = 2222
  231.           Function Code = 76
  232.  
  233. Transmit Channels
  234.  
  235.      No transmit channels are defined or active during this application.
  236.  
  237. Applications
  238.  
  239. Application 1: Segment Characterization
  240.  
  241.      This application characterizes network file service (default).
  242.  
  243.      1.   Load and run the default FILEVIEW application.
  244.  
  245.      2.   At the Run Rate Screen, the channel packet counters provide the
  246.           total number of NCP file requests, broken down by request type.
  247.  
  248.      3.   If the test is run for a specified amount of time and started at
  249.           the same time each day, using the LANalyzer's start and stop
  250.           triggers, then the gathered data can be compared and contrasted
  251.           over time.
  252.  
  253. Application 2: Single Server Characterization
  254.  
  255.      This application characterizes network file service by server.
  256.  
  257.      1.   Load the default FILEVIEW.
  258.  
  259.      2.   At the Receive Channel "dest" pattern, set the Ethernet
  260.           Destination address to the desired target Ethernet address of a
  261.           known NetWare file server. For example, to capture file requests
  262.           addressed to NetWare server NCS with the Ethernet address
  263.           00001B02127A, set the filter as follows:
  264.  
  265.           Dst Station 00 00 AB 02 12 7A <---- XX XX XX XX XX XX
  266.  
  267.      3.   Run the FILEVIEW application.
  268.  
  269.      4.   The test results will reflect all filtered file-related requests
  270.           addressed to the destination server.
  271.  
  272. Application 3: Single Workstation Characterization
  273.  
  274.      This application characterizes network file service by workstation.
  275.  
  276.      1.   Load the default FILEVIEW application.
  277.  
  278.      2.   At the Receive Channel "src" pattern, set the Ethernet source
  279.           address to the desired Ethernet address of a known NetWare
  280.           workstation. For example, to capture file requests transmitted by
  281.           a workstation with the Ethernet address 00001B02127A, set the
  282.           filter as follows:
  283.  
  284.           Src Station 00 00 AB 02 12 7A ----> XX XX XX XX XX XX
  285.  
  286.      3.   Run the FILEVIEW application.
  287.  
  288.      4.   The test results will reflect all filtered file-related requests
  289.           transmitted by the source node.
  290.  
  291. Application 4: Write Activity Analysis
  292.  
  293.      This application determines the number of file writes occurring during
  294.      a given period of time.
  295.  
  296.      1.   Load the default FILEVIEW application.
  297.  
  298.      2.   At the Receive Channel "dest" pattern, set the Ethernet
  299.           Destination address to the desired target Ethernet address of a
  300.           known NetWare file server (see Application 2.)
  301.  
  302.      3.   Run the FILEVIEW application.
  303.  
  304.      4.   At the Run Rate Screen, the write channel packet counter provides
  305.           the total number of NCP write requests.
  306.  
  307.      5.   If the test is run for a specified amount of time and started at
  308.           the same time each day, using the LANalyzer's start and stop
  309.           triggers, then the gathered data can be used to estimate the
  310.           total volume of written data for a day, week, or month. This
  311.           information can be used in long-term planning, especially in the
  312.           estimation of disk storage requirements for transaction tracking
  313.           or audit trail services.
  314.  
  315. Editor's Note: The author accepts written feedback at FAX (801) 429-5511.
  316.  
  317.  
  318.